package com.rain.cy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yuchen
 * @date 2021年10月01日15:47:35
 */
@MapperScan("com.rain.cy.business.mapper.**")
@SpringBootApplication
@EnableAspectJAutoProxy
@RestController
public class DoctorApplication {


    @RequestMapping("/")
    @ResponseBody
    public String testNetWork() {
        return "hello world";
    }

    public static void main(String[] args) {
        SpringApplication.run(DoctorApplication.class, args);
    }
}
